/// balQuantity : 37
/// bedId : 4382097016811521
/// bedNo : "10(朝北)"
/// bizId : 2
/// bizType : 4
/// bizTypeName : "移交出库"
/// branchId : 6627
/// commonName : "藿香正气胶囊"
/// createdBy : "5"
/// createdDate : "2024-05-31 17:51:21"
/// customerId : 4965300435021824
/// customerName : "测试身份证导入"
/// displayQuantity : "13.00粒"
/// doseNum : 10
/// doseType : "1"
/// doseTypeName : "胶囊"
/// drugId : 1
/// executorId : 5
/// executorTime : "2024-05-31 17:51:22"
/// id : 7
/// ioType : 1
/// maxUnit : "1"
/// maxUnitName : "盒"
/// minUnit : "2"
/// minUnitName : "粒"
/// productName : "藿香正气胶囊"
/// quantity : 13
/// saasId : 1000
/// specifications : "10g*12粒"
/// status : 1
/// statusName : "已入柜"
/// stockId : 9
/// unitNum : 12
/// updatedBy : "5"
/// updatedDate : "2024-05-31 17:51:22"

class ReceiveMedicineRecordList {
  ReceiveMedicineRecordList(
      {this.balQuantity,
      this.bedId,
      this.bedNo,
      this.bizId,
      this.bizType,
      this.bizTypeName,
      this.branchId,
      this.commonName,
      this.createdBy,
      this.createdDate,
      this.customerId,
      this.customerName,
      this.displayQuantity,
      this.doseNum,
      this.doseType,
      this.doseTypeName,
      this.drugId,
      this.executorId,
      this.executorTime,
      this.id,
      this.ioType,
      this.maxUnit,
      this.maxUnitName,
      this.minUnit,
      this.minUnitName,
      this.productName,
      this.quantity,
      this.saasId,
      this.specifications,
      this.status,
      this.statusName,
      this.stockId,
      this.unitNum,
      this.updatedBy,
      this.updatedDate,
      this.usageType,
      this.usageFrequency,
      this.usageQuantity,
      this.executorName});

  ReceiveMedicineRecordList.fromJson(dynamic json) {
    balQuantity = json['balQuantity'];
    bedId = json['bedId'];
    bedNo = json['bedNo'];
    bizId = json['bizId'];
    bizType = json['bizType'];
    bizTypeName = json['bizTypeName'];
    branchId = json['branchId'];
    commonName = json['commonName'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    customerId = json['customerId'];
    customerName = json['customerName'];
    displayQuantity = json['displayQuantity'];
    doseNum = json['doseNum'];
    doseType = json['doseType'];
    doseTypeName = json['doseTypeName'];
    drugId = json['drugId'];
    executorId = json['executorId'];
    executorTime = json['executorTime'];
    id = json['id'];
    ioType = json['ioType'];
    maxUnit = json['maxUnit'];
    maxUnitName = json['maxUnitName'];
    minUnit = json['minUnit'];
    minUnitName = json['minUnitName'];
    productName = json['productName'];
    quantity = json['quantity'];
    saasId = json['saasId'];
    specifications = json['specifications'];
    status = json['status'];
    statusName = json['statusName'];
    stockId = json['stockId'];
    unitNum = json['unitNum'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
    usageType = json['usageType'];
    usageFrequency = json['usageFrequency'];
    usageQuantity = json['usageQuantity'];
    executorName = json['executorName'];
  }

  num? balQuantity;
  num? bedId;
  String? bedNo;
  num? bizId;
  num? bizType;
  String? bizTypeName;
  num? branchId;
  String? commonName;
  String? createdBy;
  String? createdDate;
  num? customerId;
  String? customerName;
  String? displayQuantity;
  num? doseNum;
  String? doseType;
  String? doseTypeName;
  num? drugId;
  num? executorId;
  String? executorTime;
  String? executorName;
  num? id;
  num? ioType;
  String? maxUnit;
  String? maxUnitName;
  String? minUnit;
  String? minUnitName;
  String? productName;
  num? quantity;
  num? saasId;
  String? specifications;
  num? status;
  String? statusName;
  num? stockId;
  num? unitNum;
  String? updatedBy;
  String? updatedDate;
  String? usageType;
  String? usageFrequency;
  num? usageQuantity;

  ReceiveMedicineRecordList copyWith({
    num? balQuantity,
    num? bedId,
    String? bedNo,
    num? bizId,
    num? bizType,
    String? bizTypeName,
    num? branchId,
    String? commonName,
    String? createdBy,
    String? createdDate,
    num? customerId,
    String? customerName,
    String? displayQuantity,
    num? doseNum,
    String? doseType,
    String? doseTypeName,
    num? drugId,
    num? executorId,
    String? executorTime,
    num? id,
    num? ioType,
    String? maxUnit,
    String? maxUnitName,
    String? minUnit,
    String? minUnitName,
    String? productName,
    num? quantity,
    num? saasId,
    String? specifications,
    num? status,
    String? statusName,
    num? stockId,
    num? unitNum,
    String? updatedBy,
    String? updatedDate,
  }) =>
      ReceiveMedicineRecordList(
        balQuantity: balQuantity ?? this.balQuantity,
        bedId: bedId ?? this.bedId,
        bedNo: bedNo ?? this.bedNo,
        bizId: bizId ?? this.bizId,
        bizType: bizType ?? this.bizType,
        bizTypeName: bizTypeName ?? this.bizTypeName,
        branchId: branchId ?? this.branchId,
        commonName: commonName ?? this.commonName,
        createdBy: createdBy ?? this.createdBy,
        createdDate: createdDate ?? this.createdDate,
        customerId: customerId ?? this.customerId,
        customerName: customerName ?? this.customerName,
        displayQuantity: displayQuantity ?? this.displayQuantity,
        doseNum: doseNum ?? this.doseNum,
        doseType: doseType ?? this.doseType,
        doseTypeName: doseTypeName ?? this.doseTypeName,
        drugId: drugId ?? this.drugId,
        executorId: executorId ?? this.executorId,
        executorTime: executorTime ?? this.executorTime,
        id: id ?? this.id,
        ioType: ioType ?? this.ioType,
        maxUnit: maxUnit ?? this.maxUnit,
        maxUnitName: maxUnitName ?? this.maxUnitName,
        minUnit: minUnit ?? this.minUnit,
        minUnitName: minUnitName ?? this.minUnitName,
        productName: productName ?? this.productName,
        quantity: quantity ?? this.quantity,
        saasId: saasId ?? this.saasId,
        specifications: specifications ?? this.specifications,
        status: status ?? this.status,
        statusName: statusName ?? this.statusName,
        stockId: stockId ?? this.stockId,
        unitNum: unitNum ?? this.unitNum,
        updatedBy: updatedBy ?? this.updatedBy,
        updatedDate: updatedDate ?? this.updatedDate,
      );

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['balQuantity'] = balQuantity;
    map['bedId'] = bedId;
    map['bedNo'] = bedNo;
    map['bizId'] = bizId;
    map['bizType'] = bizType;
    map['bizTypeName'] = bizTypeName;
    map['branchId'] = branchId;
    map['commonName'] = commonName;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['customerId'] = customerId;
    map['customerName'] = customerName;
    map['displayQuantity'] = displayQuantity;
    map['doseNum'] = doseNum;
    map['doseType'] = doseType;
    map['doseTypeName'] = doseTypeName;
    map['drugId'] = drugId;
    map['executorId'] = executorId;
    map['executorTime'] = executorTime;
    map['id'] = id;
    map['ioType'] = ioType;
    map['maxUnit'] = maxUnit;
    map['maxUnitName'] = maxUnitName;
    map['minUnit'] = minUnit;
    map['minUnitName'] = minUnitName;
    map['productName'] = productName;
    map['quantity'] = quantity;
    map['saasId'] = saasId;
    map['specifications'] = specifications;
    map['status'] = status;
    map['statusName'] = statusName;
    map['stockId'] = stockId;
    map['unitNum'] = unitNum;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    map['usageType'] = usageType;
    map['usageFrequency'] = usageFrequency;
    map['usageQuantity'] = usageQuantity;
    return map;
  }
}
